package com.luobd.bpm.business.user.service;


import com.luobd.bpm.common.Base64Captcha;
import com.luobd.bpm.common.ResponseData;

public interface IAuthService {


    ResponseData<String> auth(String username, String password);


    ResponseData<Boolean> logout();



    String getCacheTokenByUserId(Long userId);


    ResponseData<Base64Captcha> getCaptchaBase64();



    boolean checkCaptcha(String id, String captcha);



}
